<script type="text/javascript">
window.history.forward(1);
</script>
<a href="/"><div class="topBack"><img src="/images/back_jiantou.png" style="width:40px;height:40px;"></div></a>
<div class="topContent">我的订单</div>
<div class="topRight">&nbsp;</div>
<div class="clear"></div>

<div id="wrapperList" class="wrapperComman" style="top:40px;bottom:0px;">
<div style="width:100%;">
<?php 
$list = $this->orderList;
if(!empty($list)){
	foreach($list as $l){
		echo '
		
			<div class="beijin">&nbsp;</div>
			<a href="/order/status?act=list&oid='.$l->orderid.'">
			<div class="normalDiv listOrdercode">订单号：'.$l->ordercode.'</div>
			<div class="listLook" style="text-align:center;">
					<span style="color:red;padding:3px;font-size:0.9em;">'.$l->status_title.'</span>
				
			</div>
			<div class="clear"></div>
			<div class="normalDiv listZiti" style="font-size:0.9em;">'.$l->address.'</div>
			<div class="normalDiv listTotal">共<span style="color:red;">'.$l->ordercount.'</span>件商品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：￥<span style="color:red;">'.$l->tolprice.'</span></div>
			<div class="normalDiv listTime">下单时间：'.substr($l->inserttime,5,11).'</div>
			</a>
		';
	}
}else{
	echo '<div style="text-align:center;margin-top:50px;">列表为空，赶紧去下单！</div>';
}
?>
</div>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		var myScroll;
		myScroll = new iScroll('wrapperList', { scrollbarClass: 'myScrollbar' });
	});
</script>